export default ({ request }) => ({
  // 调取二维码支付
  API_PAYMENT_RECHARGE(data) {
    return request({
      url: "payment/recharge",
      method: "post",
      data,
    });
  },
  // 监听支付接口
  API_PAYMENT_RECHARGEQUERY(params) {
    return request({
      url: "/payment/rechargequery",
      method: "get",
      params,
    });
  },
});
